<!--
*   TG_Coder : Dzlua
*   Email    : 505544956@qq.com
*   Time     : 2017/08/30
-->
{% extends "bootstrap/base.html" %}
{% block title %}Dzlua{% endblock %}
{% block content %}
<div class="container">
    <form role="form" method="post" onsubmit="this.submit();">
        <br>
        <div class="form-group">
            <select name="lib_name" class="form-control"> 
                <option>Chrome</option>
                <option>muduo</option>
            </select>
        </div>

        <div class="input-group">
            <input name="search_page" type="number" min="1" max="100" class="form-control" placeholder="搜索页码：1-100" value="{{page}}">
            <span class="input-group-addon">页码</span>
        </div>

        <br>

        <div class="input-group">
            <input name="search_text" type="text" class="form-control" placeholder="搜索内容" value="{{content}}">
            <div class="input-group-btn">
                <button class="btn btn-default" type="submit">搜索</button>
            </div>
        </div>
    </form>
</div>
<br>
<div class="container">
    <span class="label label-default">输入命令：</span>
    <br><br>
    {{command}}
    <br><br>
    <span class="label label-default">输出结果：</span>
    <br><br>
    {{result}}
</div>
{% endblock %}